
::从数据库导入数据表，仅含单独的字段不含setter getter
php bin/console doctrine:mapping:import --path=src\Entity --filter=Car App\Entity annotation
php bin/console doctrine:mapping:import --path=src\Entity --filter=Car App\Entity annotation

::生成setter getter
php bin/console make:entity --regenerate

::User表因为会被覆盖所以
xcopy src\Entity\User.php.normal src\Entity\User.php /Y
















::App\Entity是命名空间 EasyAdmin\Entity是目标文件夹
::php bin/console doctrine:mapping:import App\Entity --path=src\Entity annotation


::./src/Entity是目标文件夹 App\Entity\命名空间，最后一个反斜杠不加会生成统一前缀的东西
::php bin/console doctrine:mapping:convert annotation ./src/Entity --from-database --force --namespace=App\Entity

::php bin/console doctrine:mapping:import --path=EasyAdmin annotation

::php bin/console doctrine:mapping:convert annotation ./src/Entity --from-database --force
